package com.cici.entity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.cici.base.DelFlagEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;


import lombok.*;

/**
 *
 *
 * @author cici
 * @since 2018-12-01
 */
@ApiModel(value = "TbTestStudent")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("tb_test_student")
public class TbTestStudent extends DelFlagEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @JsonProperty
    @ApiModelProperty("主键")
    private Long id;
    /**
     * 姓名
     */
    @JsonProperty
    @ApiModelProperty("姓名")
    private String name;
    /**
     * 学校
     */
    @JsonProperty
    @ApiModelProperty("学校")
    private String school;
    /**
     * 城市
     */
    @JsonProperty
    @ApiModelProperty("城市")
    private String city;

    /**
     * 地址
     */
    @JsonProperty
    @ApiModelProperty("地址")
    @TableField(exist = false)
    private  String address;

}
